package com.szyportal.custom.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.szyportal.common.annotation.Excel;
import com.szyportal.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 人才发展对象 sp_w_job
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class WJob extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 职位名称 */
    @Excel(name = "职位名称")
    private String name;

    /** 工作地点 */
    @Excel(name = "工作地点")
    private String address;

    /** 职位类别 */
    @Excel(name = "职位类别")
    private String cate;

    /** 月薪 */
    @Excel(name = "月薪")
    private BigDecimal salary;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 工作性质 */
    @Excel(name = "工作性质")
    private String nature;

    /** 工作经验 */
    @Excel(name = "工作经验")
    private String experience;

    /** 最低学历 */
    @Excel(name = "最低学历")
    private String education;

    /** 招聘人数 */
    @Excel(name = "招聘人数")
    private Long num;

    /** 岗位职责 */
    @Excel(name = "岗位职责")
    private String work;

//    /** 内容 */
//    @Excel(name = "内容")
//    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

//    public void  setContent(String content) {this.content = content;}
//
//    public String getContent() { return content;}

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setCate(String cate) 
    {
        this.cate = cate;
    }

    public String getCate() 
    {
        return cate;
    }

    public void setSalary(BigDecimal salary) 
    {
        this.salary = salary;
    }

    public BigDecimal getSalary() 
    {
        return salary;
    }

    public void setPublishDate(Date publishDate) 
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate() 
    {
        return publishDate;
    }

    public void setNature(String nature) 
    {
        this.nature = nature;
    }

    public String getNature() 
    {
        return nature;
    }

    public void setExperience(String experience) 
    {
        this.experience = experience;
    }

    public String getExperience() 
    {
        return experience;
    }

    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setWork(String work) 
    {
        this.work = work;
    }

    public String getWork() 
    {
        return work;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("cate", getCate())
            .append("salary", getSalary())
            .append("publishDate", getPublishDate())
            .append("nature", getNature())
            .append("experience", getExperience())
            .append("education", getEducation())
            .append("num", getNum())
            .append("work", getWork())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
